//
//  Descente.h
//  Kayak
//
//  Created by Francoeur-Raymond, David on 12-05-24.
//

#import <Foundation/Foundation.h>


@interface Descente : NSObject {
    NSDate *departTimestamp;
    NSDate *arriverTimestamp;
	int portesToucher;
	int portesManquer;
	bool descenteEnCours;
	bool didNotFinish;
	bool estTerminer;
    
	
}

@property (nonatomic, retain) NSDate *departTimestamp;
@property (nonatomic, retain) NSDate *arriverTimestamp;
@property (nonatomic, assign) int portesToucher;
@property (nonatomic, assign) int portesManquer;
@property (nonatomic, assign) bool descenteEnCours;
@property (nonatomic, assign) bool didNotFinish;
@property (nonatomic, assign) bool estTerminer;


//getters
-(int) portesToucher;
-(int) portesManquer;

-(void) demarrerDescente;
-(NSNumber *) terminerDescente : (bool) input;
-(void) ajouterPorteManquer;
-(void) ajouterPorteToucher;
-(NSString*) recupererTempsCalculer;
-(bool) estEnCours;
-(bool) estTerminer;
@end
